package com.enjoyread.common.config;

public class SystemConfig {
    //OSS
    public static final String OSS_KEY="LTAI5t8niGE1NwUrrzJDPB8d";
    public static final String OSS_KEYSECRET="krl8uvFCk5vuifBh7Ayc6bpFleWfNl";

    //老邢阿里云 相关第三方密钥
    public static final String ALI_KEY="LTAI5t8QA19CRR2V15oHyHW8";
    public static final String ALI_KEYSECRET="OqUKmRFUnAYm0frzUc43uKnk5BNoaP";
    public static final String ALI_SMSSIGN="来自邢朋辉的短信";
    public static final String ALI_SMSCODE_REGISTER="SMS_115250125";//注册验证码
    public static final String ALI_SMSCODE_LOGIN="SMS_114390520";
    public static final String ALI_SMSCODE_FIND="SMS_181545700";
    public static final int ALI_SMSCODE_LEN=6;

    //统一结果返回
    public static final int R_OK=200;
    public static final int R_FAIL=400;

    //记录短信操作类型
    public static final int SMS_TYPE_RCODE=1;
    public static final int SMS_TYPE_LCODE=2;
    public static final int SMS_TYPE_FCODE=3;
    public static final int SMS_TYPE_BMSG=4;

    //记录用户的状态
    public static final int USER_FLAG_OK=1;
    public static final int USER_FLAG_WX=2;

    //记录用户的操作类型
    public static final int USER_OP_ADD=1;
    public static final int USER_OP_LOGIN=2;
    public static final int USER_OP_FIND=3;

    //自定义令牌的消息头
    public static final String HEADER_TOKEN="token";
    public static final String HEADER_TOKEN_UID="token_uid";

    //oss访问链接的有效期
    public static final int OSS_URL_TIME=1;

    //上传的文件名长度，上限
    public static final int FILE_NAME_LENGTH=50;

    //oss的类型
    public static final int OSS_TYPE_TXT=1;
    public static final int OSS_TYPE_HEAD=2;
    public static final int OSS_TYPE_LBIMG=3;


}
